package com.example.demo.Dao;


import com.example.demo.service.GoodsDao;
import com.example.demo.service.GoodsDao_temp;
import com.example.demo.service.RecordsDao;
import com.example.demo.service.UserDao;

public class DaoFactory {
    public static UserDao getUserDao(){
        return new UserDaoImpl();
    }
    public static GoodsDao getGoodsDao(){ return new GoodsDaoImpl(); }
    public static GoodsDao_temp getGoodsDao_temp(){ return new Goods_tempImpl(); }
    public static RecordsDao getRecordsDao(){ return new RecordsDaoImpl();}
}
